package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 sys_student
 * 
 * @author ruoyi
 * @date 2025-10-20
 */
public class SysStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String avatar;

    /** 个人介绍 */
    @Excel(name = "个人介绍")
    private String introduction;

    /** 性别（0男 1女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private String sex;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    
    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birthDate;
    
    /** 专业 */
    @Excel(name = "专业")
    private String major;
    
    /** 班级 */
    @Excel(name = "班级")
    private String className;
    
    /** 年级 */
    @Excel(name = "年级")
    private String grade;
    
    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;
    
    /** 入学日期 */
    @Excel(name = "入学日期")
    private String enrollmentDate;
    
    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;
    
    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;
    
    /** 地址 */
    @Excel(name = "地址")
    private String address;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    
    public void setBirthDate(String birthDate)
    {
        this.birthDate = birthDate;
    }
    
    public String getBirthDate()
    {
        return birthDate;
    }
    
    public void setMajor(String major)
    {
        this.major = major;
    }
    
    public String getMajor()
    {
        return major;
    }
    
    public void setClassName(String className)
    {
        this.className = className;
    }
    
    public String getClassName()
    {
        return className;
    }
    
    public void setGrade(String grade)
    {
        this.grade = grade;
    }
    
    public String getGrade()
    {
        return grade;
    }
    
    public void setPoliticalStatus(String politicalStatus)
    {
        this.politicalStatus = politicalStatus;
    }
    
    public String getPoliticalStatus()
    {
        return politicalStatus;
    }
    
    public void setEnrollmentDate(String enrollmentDate)
    {
        this.enrollmentDate = enrollmentDate;
    }
    
    public String getEnrollmentDate()
    {
        return enrollmentDate;
    }
    
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public void setEmail(String email)
    {
        this.email = email;
    }
    
    public String getEmail()
    {
        return email;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public String getAddress()
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("avatar", getAvatar())
            .append("introduction", getIntroduction())
            .append("sex", getSex())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("birthDate", getBirthDate())
            .append("major", getMajor())
            .append("className", getClassName())
            .append("grade", getGrade())
            .append("politicalStatus", getPoliticalStatus())
            .append("enrollmentDate", getEnrollmentDate())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("address", getAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
